module.exports = {
  extends: ["@commitlint/config-conventional"],
  /**
   * @type {import("@commitlint/types")}
   *
   * export declare enum RuleConfigSeverity {
   *     Disabled = 0,
   *     Warning = 1,
   *     Error = 2
   * }
   */
  rules: {
    "type-enum": [
      2,
      "always",
      [
        "feat",
        "fix",
        "improvement",
        "refactor",
        "perf",
        "remove",
        "docs",
        "revert",
        "style",
        "test",
        "build",
        "ci",
        "chore",
      ],
    ],
    "subject-case": [0],
    "header-max-length": [0],
  },
};
